<template>
  <div class="home">
    <Head></Head>
    <div class="welcome">
      <div class="weltitle">欢迎使用</div>
      <div class="tooltitle">一体化AI智能导诊机</div>
      <div class="english">Integrated AI intelligent guidance machine</div>
    </div>
    <div class="contents">
      <div class="guidence ai" @click="goAiguide">
        <img src="../../assets/images/ai.png" alt="" />
        <span>Ai智能导诊</span>
      </div>
      <div class="guidence" @click="goSymptom">
        <img src="../../assets/images/symptom.png" alt="" />
        <span>症状导诊</span>
      </div>
      <div class="guidence" @click="goDepartment">
        <img src="../../assets/images/department.png" alt="" />
        <span>科室介绍</span>
      </div>
      <!--  <div class="guidence" @click="goLocation">
        <img src="../../assets/images/local.png" alt="" />
        <span>位置导航</span>
      </div> -->
    </div>
    <div class="tip">
      <span>技术支持：西安启源未来科技有限公司</span>
    </div>
  </div>
</template>
<script setup lang="ts">
import { onMounted } from "vue";
import { useRouter } from "vue-router";
const router = useRouter();
onMounted(() => {});
const goAiguide = () => {
  router.push("/gudience");
};
const goSymptom = () => {
  router.push("/symptom");
};
const goDepartment = () => {
  router.push("/departments");
};
const goLocation = () => {
  // router.push("/location");
  window.location.href =
    "https://www.esmap.cn/escopemap/mapshow/weixin/index.html?bids=U1747031610040&s=1747041_escope47yun&v=027cdf4006ca5d42&token=VWJhXVhUWzRkTGx6VzY5X1tKVjdkVXd3VXJlTFhKVntkVVU9WmVwX2BPXw==&tt=6244585826937206";
};
</script>

<style scoped lang="scss">
@import "@/styles/variable.scss";
.home {
  width: 100vw;
  height: 100vh;
  padding: 40px 30px;
  background: url("@/assets/images/home.png");
  overflow-y: hidden;

  .welcome {
    color: $base-home-font-color;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
    border-bottom: 2px solid $base-home-font-color;

    .weltitle {
      font-size: 64px;
    }
    .tooltitle {
      font-size: 64px;
      font-weight: 700;
    }
    .english {
      font-size: 30px;
    }
  }
  .welcome > div {
    margin-bottom: 25px;
  }
  .contents {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 30px;
    .guidence {
      width: 85vw;
      height: 15vh;
      border: 4px solid #b5e1fe;
      margin: 30px auto;
      border-radius: 16px;
      overflow: hidden;
      background: #acdeff;
      display: flex;
      align-items: center;
      justify-content: center;
      img {
        margin-right: 20px;
      }
      span {
        font-size: 72px;
        color: #3c4651;
      }
    }
  }
  .tip {
    font-size: 30px;
    color: $base-home-font-color;
    width: 50vw;
    height: 10vh;
    // margin: 0 auto;
    // padding-top: 20px;
    position: fixed;
    left: 25%;
    bottom: 10px;
  }
}
</style>
